
#ifndef _APPOINTMENT_H_
#define _APPOINTMENT_H_

#include "Date.h"
#include "Client.h"
#include "Doctor.h"
#include "Hour.h"

/**
 * Implementation of the class Appointment
 */
class Appointment
{

public:
	Appointment();
	Appointment(Date date, Hour startHour, Client client, Doctor doctor, unsigned long number);
	virtual ~Appointment();

	Date *getAppointmentDate() const;
	void setAppointmentDate(const Date &date);
	unsigned long getAppointmentNumber() const;
	Hour getStartHour();
	void setStartHour(Hour hour);
	Client getPacient();
	void setPacient(Client pacient);
	Doctor getDoctor();
	void setDoctor(Doctor doctor);

private:
	Date *appointmentDate;
	Hour *startHour;
	Client *pacient;
	Doctor *doctor;
	unsigned long appointmentNumber;

};
#endif // _APPOINTMENT_H_
